Class SingleResponse

java.lang.Object
com.netscape.cmsutil.ocsp.SingleResponse
All Implemented Interfaces:
org.mozilla.jss.asn1.ASN1Value

public class SingleResponse extends Object implements org.mozilla.jss.asn1.ASN1Value
RFC 2560:
 SingleResponse ::= SEQUENCE {
 certID                       CertID,
 certStatus                   CertStatus,
 thisUpdate                   GeneralizedTime,
 nextUpdate           [0]     EXPLICIT GeneralizedTime OPTIONAL,
 singleExtensions     [1]     EXPLICIT Extensions OPTIONAL }
 
Version:
$Revision$ $Date$
  • Constructor Details

    • SingleResponse

      public SingleResponse(CertID cid, CertStatus s, org.mozilla.jss.asn1.GeneralizedTime thisUpdate, org.mozilla.jss.asn1.GeneralizedTime nextUpdate)
  • Method Details

    • getCertID

      public CertID getCertID()
    • getTag

      public org.mozilla.jss.asn1.Tag getTag()
      Specified by:
      getTag in interface org.mozilla.jss.asn1.ASN1Value
    • encode

      public void encode(org.mozilla.jss.asn1.Tag t, OutputStream os) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • encode

      public void encode(OutputStream os) throws IOException
      Specified by:
      encode in interface org.mozilla.jss.asn1.ASN1Value
      Throws:
      IOException
    • getCertStatus

      public CertStatus getCertStatus()
    • getThisUpdate

      public org.mozilla.jss.asn1.GeneralizedTime getThisUpdate()
    • getNextUpdate

      public org.mozilla.jss.asn1.GeneralizedTime getNextUpdate()
    • getExtensionCount

      public int getExtensionCount()
    • getTemplate

      public static SingleResponse.Template getTemplate()